package com.infraassets.event
{
	import flash.events.Event;
	
	public class InfraServicesEvent extends Event
	{
		public static const FORM_PREPARED:String = 'formPrepared';
		public static const RECORD_ADDED:String = 'recordAdded';
		public static const RECORD_UPDATED:String = 'recordUpdated';
		public static const RECORD_LOADING:String = 'recordLoading';
		public static const RECORD_LOADED:String = 'recordLoaded';
		public static const RECORD_DELETED:String = 'recordDeleted';
		public static const RECORD_ADDING:String = 'recordAdding';
		public static const RECORD_UPDATING:String = 'recordUpdating';
		public static const RECORD_DELETING:String = 'recordDeleting';
		public static const FORM_PREPARING:String = 'formPreparing';
		public static const WALL_THICKNESS_CHECKING:String = 'wallThicknessChecking';
		public static const WALL_THICKNESS_CHECKED:String = 'wallThicknessChecked';
		public static const SERVICE_INVOKE:String = 'serviceInvoke';
		public static const SERVICE_ERROR:String = 'serviceError';
		public static const VIDEO_LIST_LOADED:String = 'videoListLoaded';
		
		public var serviceType:String;
		public var serviceShout:String;
		public var lastAddedId:int;
		public var lastUpdatedId:int;
		
		public function InfraServicesEvent(type:String, bubbles:Boolean=false, cancelable:Boolean=false)
		{
			super(type, bubbles, cancelable);
		}
	}
}